package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Genero;
import com.lostreseditores.sabersai.model.dto.GeneroDTO;


public interface IGeneroLogic {
    public List<Genero> getGenero() throws Exception;

    public void saveGenero(String genedescripv, Integer geneidn,
        String genesiglav) throws Exception;

    public void deleteGenero(Integer geneidn) throws Exception;

    public void updateGenero(String genedescripv, Integer geneidn,
        String genesiglav) throws Exception;

    public Genero getGenero(Integer geneidn) throws Exception;

    public List<Genero> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Genero> findPageGenero(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberGenero() throws Exception;

    public List<GeneroDTO> getDataGenero() throws Exception;
}
